<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Activity extends Model
{
    protected $table = 'activity';
    public $timestamps = false;
    protected $fillable = [
        'activity_name',
        'status',
        'jump_url',
        'updated_at',
    ];


    const statusTrue = 1;
    const statusFail = 2;

    const ACTIVITY_STATUS = [
        self::statusTrue => '启用',
        self::statusFail => '停用',
    ];
}
